﻿using System.Data;
using System.Text;

namespace VASJ.Model.Helper
{
    public class ComboBoxHelper
    {
        public static string PatterPrefix = "--";
        public static string ValueMember = "Id";
        public static string DisplayMember = "Name";


        public static string CreatePrefixText(int count, string patternText)
        {
            StringBuilder results = new StringBuilder();

            for (int i = 0; i <= count; i++)
            {
                results.Append(patternText);
            }

            return results.ToString();
        }
    }
}
